package io;

public class Employee {
	private String name;
	private int age;
	public Employee(String name, int age){
		if(name.length()>8){
			name = name.substring(0, LEN);
		}else{
			while(name.length()<8){
				name = name + "\u0000";
			}
		}
		this.name = name;
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	 static final int LEN=8;
	

}
